<div class="navbar-wrapper">
	<?php require_once 'catalog.php';?>
	<?php
		session_start();
		require_once 'catalog.php';
		
		if(isset($_GET['session_key'])) {
			if(isset($_GET['session_value'])) {
				$_SESSION[$_GET['session_key']] = $_GET['session_value'];
			}
		}
		
		if(isset($_SESSION["lang"])) {
			$lang = $_SESSION["lang"];
		} else {
			$lang = 'fr';
		}
		echo $lang;
		$catalog = new Catalog($lang);
	?>
	<div class="container">
		<a href="index.php" >
			<img src="img/logo.PNG" class="logo" />
		</a>
		<div class="language-wrapper">
			<a href="?session_key=lang&session_value=en">
				<img src="img/en.gif" class="language" />
			</a>
			<a href="?session_key=lang&session_value=de">
				<img src="img/de.gif" class="language" />
			</a>
			<a href="?session_key=lang&session_value=fr" >
				<img src="img/fr.jpg" class="language" />
			</a>
		</div>
	</div>
</div>